package com.pattern.adapter.springmvc;

/**
 * @author 冯志立
 * @create 2019-10-25 17:40
 */
//多种controller实现
public interface Controller {

}

class HttpController implements Controller{
    public void doHttpHandler(){
        System.out.println("http.....");
    }
}

class SimpleController implements Controller{
    public void doSimpleHandler(){
        System.out.println("simple.....");
    }
}

class AnnotationController implements Controller{
    public void doAnnotationHandler(){
        System.out.println("Annotation.....");
    }
}